package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门报警统计对象 department_alarm_statistics
 * 
 * @author ruoyi
 * @date 2023-11-15
 */
public class DepartmentAlarmStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 预警 */
    @Excel(name = "预警")
    private String warning;

    /** 报警 */
    @Excel(name = "报警")
    private String alarm;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setWarning(String warning) 
    {
        this.warning = warning;
    }

    public String getWarning() 
    {
        return warning;
    }
    public void setAlarm(String alarm) 
    {
        this.alarm = alarm;
    }

    public String getAlarm() 
    {
        return alarm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("department", getDepartment())
            .append("warning", getWarning())
            .append("alarm", getAlarm())
            .toString();
    }
}
